package com.wing.product.model.request;

import com.baomidou.mybatisplus.annotation.TableField;
import com.wing.mybatis.common.BaseEntity;
import com.wing.product.model.entity.WarehouseQualityTestingDetail;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.List;

@Schema(description="加工质检表")
@Data
public class WarehouseQualityTestingForm {

    @Schema(description="产成品id")
    private Long productId;

    @Schema(description="创建时间")
    private LocalDateTime createTime;

    @Schema(description="产成品料号")
    private String customerProductCode;

    @Schema(description="生产线id")
    private Long productionLineId;

    @Schema(description="车间id")
    private Long workshopId;

    @Schema(description="加工报工记录id")
    private Long processingReportId;

    @Schema(description="所属生产订单id")
    private Long productionOrderId;

    @Schema(description="所属生产订单编号")
    private String productionOrderNumber;

    @TableField(value = "customer_id")
    @Schema(description="客户id")
    private Long customerId;

    @Schema(description="质检类型id")
    private Long qualityTestingTypeId;

    @Schema(description="质检分类id")
    private Long qualityTestingCategoryId;

    @Schema(description="质检性质id")
    private Long qualityInspectionNatureId;

    @Schema(description="质检性质id")
    private List<WarehouseQualityTestingDetailForm> warehouseQualityTestingDetailList;
}
